package com.ruoyi.project.cms.content.mapper;

import com.ruoyi.project.cms.content.domain.Content;
import com.ruoyi.project.system.notice.domain.Notice;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ContentMapper {
    //分页查询公告信息
    List<Notice> selectContentList(Content content);
    //新增公告
    int insertContent(Content content);
    //批量删除公告
    int deleteContentByIds(@Param("ids") Long[] contentIds);
    //修改保存
    int updateContent(Content content);
    //根据id查询公告信息
    Content selectContentById(Long contentId);
}
